package com.catazy.module_compose.util

import com.catazy.module_compose.repository.ComposeLocalRepository
import com.catazy.module_compose.repository.ComposeRemoteRepository
import com.catazy.module_compose.repository.ComposeRepository
import com.catazy.module_compose.viewmodel.ComposeViewModelFactory

/**
 * 作者: Tao
 * 日期: 2024/5/7
 * 时间: 16:47
 * 描述:
 */
object InjectorUtil {

    fun getComposeViewModelFactory() = ComposeViewModelFactory(
        ComposeRepository.getInstance(
            ComposeRemoteRepository.instance, ComposeLocalRepository.getInstance()))
}